package com.cucn.ingmall.seckill.feign;

import com.cucn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 优惠服务远程调用
 *
 * @author KouChaoJie
 * @since: 2022/2/13 17:28
 */
@FeignClient("ingmall-coupon")
public interface CouponFeignService {

    /**
     * 扫描最近三天的秒杀活动
     */
    @GetMapping("/coupon/seckillsession/lates3DaySession")
    public R getLastThreeDays();
}
